package com.chixing.day11_exception.homework;

public class Test {
    public static void main(String[] args) {
        char[] a= {6,2,3};
        int sum1=0;
        for (int i = 0; i <a.length; i++) {
            int d = (int)Math.pow(10,a.length-i-1);
            sum1+=a[i]*d;
        }
        System.out.println(sum1);
    }
}
